home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac 1993 September / September 93.iso / Archives / Utilities / Graphic / Conversion / translators / RlePict1.1 / include / rle_config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-08  |  2.8 KB  |  117 lines  |  [TEXT/MPS ]

  1. /* rle_config.h
  2.  * 
  3.  * Automatically generated by make-config-h script.
  4.  * DO NOT EDIT THIS FILE.
  5.  * Edit include/makefile.src and the configuration file instead.
  6.  */
  7.  
  8. #define IRIS4D IRIS4D
  9. #define X11 X11
  10. #define ABEKASA60 ABEKASA60
  11. #define ABEKASA62 ABEKASA62
  12. #define ALIAS ALIAS
  13. #define CUBICOMP CUBICOMP
  14. #define GIF GIF
  15. #define GRAYFILES GRAYFILES
  16. #define NEED_BSTRING
  17. #define MACPAINT MACPAINT
  18. #define POSTSCRIPT POSTSCRIPT
  19. #define TARGA TARGA
  20. #define VICAR VICAR
  21. #define WASATCH WASATCH
  22. #define WAVEFRONT WAVEFRONT
  23. #define IRIS4DCC IRIS4DCC
  24. #define NO_MAKE_MAKEFILE NO_MAKE_MAKEFILE
  25. #define NO_RANLIB NO_RANLIB
  26. #define USE_STRING_H USE_STRING_H
  27. #define NO_OPEN_PIPES NO_OPEN_PIPES
  28. #define USE_STDLIB_H
  29. #define USE_PROTOTYPES
  30. #define NEED_SETLINEBUF
  31. #define VOID_STAR
  32. /* -*-C-*- */
  33. /***************** From rle_config.tlr *****************/
  34.  
  35. /* CONST_DECL must be defined as 'const' or nothing. */
  36. #ifdef CONST_DECL
  37. #undef CONST_DECL
  38. #define CONST_DECL const
  39.  
  40. #else
  41. #define CONST_DECL
  42.  
  43. #endif
  44.  
  45. /* A define for getx11. */
  46. #ifndef USE_XLIBINT_H
  47. #define XLIBINT_H_NOT_AVAILABLE
  48. #endif
  49.  
  50. /* Typedef for void * so we can use it consistently. */
  51. #ifdef VOID_STAR
  52. typedef    void *void_star;
  53. #else
  54. typedef char *void_star;
  55. #endif
  56.  
  57. #ifdef USE_STDLIB_H
  58. #include <stdlib.h>
  59. #else
  60.  
  61. /* Some programs include files from other packages that also declare
  62.  * malloc.  Avoid double declaration by #define NO_DECLARE_MALLOC
  63.  * before including this file.
  64.  */
  65. #ifndef NO_DECLARE_MALLOC
  66. #ifdef USE_PROTOTYPES
  67. #   include <sys/types.h>    /* For size_t. */
  68.     extern void_star malloc( size_t );
  69.     extern void_star calloc( size_t, size_t );
  70.     extern void_star realloc( void_star, size_t );
  71.     extern void free( void_star );
  72. #else
  73.     extern void_star malloc();
  74.     extern void_star realloc();
  75.     extern void_star calloc();
  76.     extern void free();
  77.     extern void cfree();
  78. #endif /* USE_PROTOTYPES */
  79. #endif /* NO_DECLARE_MALLOC */
  80.  
  81. #ifdef USE_PROTOTYPES
  82. extern char *getenv( CONST_DECL char *name );
  83. #else
  84. extern char *getenv();
  85. #endif
  86.  
  87. #endif /* USE_STDLIB_H */
  88.  
  89. #ifdef USE_STRING_H
  90.     /* SYS V string routines. */
  91. #   include <string.h>
  92. #   define index strchr
  93. #   define rindex strrchr
  94. #else
  95.     /* BSD string routines. */
  96. #   include <strings.h>
  97. /* Really, should define USE_STRING_H if __STDC__, but be safe. */
  98. #ifdef __STDC__
  99. #   define index strchr
  100. #   define rindex strrchr
  101. #endif /* __STDC__ */
  102. #endif /* USE_STRING_H */
  103.  
  104. #ifdef NEED_BSTRING
  105.     /* From bstring.c. */
  106.     /*****************************************************************
  107.      * TAG( bstring bzero )
  108.      * 'Byte string' functions.
  109.      */
  110. #   define bzero( _str, _n )        memset( _str, '\0', _n )
  111. #   define bcopy( _from, _to, _count )    memcpy( _to, _from, _count )
  112. #endif
  113.  
  114. #ifdef NEED_SETLINEBUF
  115. #   define setlinebuf( _s )    setvbuf( (_s), NULL, _IOLBF, 0 )
  116. #endif
  117.